package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 施工对象 construction
 *
 * @author ruoyi
 * @date 2021-06-22
 */
public class Construction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long cId;

    /** 施工团队 */
    @Excel(name = "施工团队")
    private String cTeam;

    /** 施工类型 */
    @Excel(name = "施工类型")
    private String cType;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date cCreatetime;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date cStarttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date cEndtime;

    /** 状态 */
    @Excel(name = "状态")
    private String cState;

    /** 用户id */
    @Excel(name = "用户id")
    private Long cUserid;

    /** 内容 */
    @Excel(name = "内容")
    private String cText;
    /** 内容 */
    @Excel(name = "内容")
    private String cAddress;

    public String getcAddress() {
        return cAddress;
    }

    public void setcAddress(String cAddress) {
        this.cAddress = cAddress;
    }

    private List<ConstructionEncloaure> constructionEncloaureList;

    public List<ConstructionEncloaure> getConstructionEncloaureList() {
        return constructionEncloaureList;
    }

    public void setConstructionEncloaureList(List<ConstructionEncloaure> constructionEncloaureList) {
        this.constructionEncloaureList = constructionEncloaureList;
    }

    public void setcId(Long cId)
    {
        this.cId = cId;
    }

    public Long getcId()
    {
        return cId;
    }
    public void setcTeam(String cTeam)
    {
        this.cTeam = cTeam;
    }

    public String getcTeam()
    {
        return cTeam;
    }
    public void setcType(String cType)
    {
        this.cType = cType;
    }

    public String getcType()
    {
        return cType;
    }
    public void setcCreatetime(Date cCreatetime)
    {
        this.cCreatetime = cCreatetime;
    }

    public Date getcCreatetime()
    {
        return cCreatetime;
    }
    public void setcStarttime(Date cStarttime)
    {
        this.cStarttime = cStarttime;
    }

    public Date getcStarttime()
    {
        return cStarttime;
    }
    public void setcEndtime(Date cEndtime)
    {
        this.cEndtime = cEndtime;
    }

    public Date getcEndtime()
    {
        return cEndtime;
    }
    public void setcState(String cState)
    {
        this.cState = cState;
    }

    public String getcState()
    {
        return cState;
    }
    public void setcUserid(Long cUserid)
    {
        this.cUserid = cUserid;
    }

    public Long getcUserid()
    {
        return cUserid;
    }
    public void setcText(String cText)
    {
        this.cText = cText;
    }

    public String getcText()
    {
        return cText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("cId", getcId())
                .append("cTeam", getcTeam())
                .append("cType", getcType())
                .append("cCreatetime", getcCreatetime())
                .append("cStarttime", getcStarttime())
                .append("cEndtime", getcEndtime())
                .append("cState", getcState())
                .append("cUserid", getcUserid())
                .append("cText", getcText())
                .toString();
    }
}

